package com.dayee.wintalent.service.v8;

import java.io.File;
import java.net.MalformedURLException;

import javax.xml.parsers.SAXParserFactory;

import org.w3c.dom.Document;

public class tet {

	 public static void main(String[] args) throws MalformedURLException {
		
		//String num=" 350521199002287291";
		 //String num=" 1";
		 ExternalResumeService mywebService = new ExternalResumeService();
		 ExternalResumeServicePortType hs = mywebService.getExternalResumeServiceHttpPort();
	 /*   String file =hs.readEntryInformation("<?xml version='1.0' encoding='UTF-8'?>"
	        		+ "<Condition><corpCode><![CDATA[fuyaogroup]]>"
	        		+ "</corpCode><userName><![CDATA[fuyaogroup]]></userName>"
	        		+ "<password><![CDATA[U48w3TAD9PphCcTr]]></password>"
	        		+ "<currentPage><![CDATA[1]]></currentPage><rowSize>"
	        		+ "<![CDATA[10]]></rowSize><applyStatus><![CDATA[18]]>"
	        		+ "</applyStatus><cType><![CDATA[2,10]]></cType><auditType>"
	        		+ "<![CDATA[4]]></auditType><auditStatus><![CDATA[2]]>"
	        		+ "</auditStatus><originResumeAttachment><![CDATA[0]]></originResumeAttachment>"
	        		+"<idNum>"
	        		+num
	        		+"</idNum>"
	        		+ "</Condition>");  */
			String file = hs.readEntryInformation(
					"<?xml version='1.0' encoding='UTF-8'?>" + "<Condition><corpCode><![CDATA[fuyaogroup]]>"
							+ "</corpCode><userName><![CDATA[fuyaogroup]]></userName>"
							+ "<password><![CDATA[U48w3TAD9PphCcTr]]></password>"
							+ "<currentPage><![CDATA[1]]></currentPage><rowSize>"
							+ "<![CDATA[1]]></rowSize><applyStatus><![CDATA[18]]>"
							+ "</applyStatus><cType><![CDATA[2,10]]></cType>"
							+ "<vType><![CDATA[1]]><vType>" + "<auditType><![CDATA[4]]></auditType><auditStatus><![CDATA[2]]>"
							+ "</auditStatus><originResumeAttachment><![CDATA[0]]></originResumeAttachment>" +  "</Condition>");
		System.out.println("**************?" + file);
	  //  System.out.println("**************?"+file); 
	        //	 System.out.println(file.substring(file.indexOf("<Ypgw>")+15, file.indexOf("</Ypgw>")-3));
	     //  System.out.println(file.substring(file.indexOf("<Address>")+10, file.indexOf("</Address>")));
	   }
	
	 
	
}
